home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Aug 90 / MacApp.Tech$ 8⁄17⁄90 / 1733-Uninitialised variab-Aug90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  706 b   |  26 lines  |  [TEXT/GEOL]

  1. Item    0274462                         13-Aug-90        12:53DST
  2.  
  3. From:   UK0034                          Baum Peter UK Dev London,IDV
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    Uninitialised variables
  8.  
  9. I've just had a problem that amounted to some BOOLEAN's that were not
  10. initialised.
  11.  
  12. I found this eventually because when I did a WRITELN on the variable, neither
  13. TRUE nor FALSE resulted - just a blank.
  14.  
  15. But both the MacApp and Think Pascal debuggers DID manage to report
  16. (incorrectly) a value for the unitialised variable - which led me down the
  17. wrong path.
  18.  
  19. I'm sure the answer is very obvious, but can anyone explain this apparent
  20. discrepancy?
  21.  
  22. Regards
  23.  
  24. Peter Baum
  25.  
  26.